<!DOCTYPE HTML>
<html>
<body>
<script type="text/javascript" src="jquery-1.8.0.min.js"></script>
<div><input id="text" /></div>
<div id="app">
<button class="new">11</button></div>
<script>
$(document).bind('test', function(){alert(1)})


$('#text').bind('change', function(){
    if($(this).val() == 1){
        console.log(1111);
        $(document).trigger('test');
    }
})

$(document).one('click', '.new' ,function(){alert('ok');$('#app').append('<button class="new">11</button>')})
</script>
</body>
</html>